import java.util.Scanner;

/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/10
 */
public class Test0301 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入n");
        int n = sc.nextInt();
        for (int x = 0; x < n; x++) {
            for (int y = n-x-1; y > 0; y--) {
                System.out.print(" ");
            }
            for (int z = 2*x+1; z > 0; z--) {
                System.out.print("*");
            }
            System.out.println("");
        }
    }
}
